/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 质量事故处理Entity
 * @author 李超辉
 * @version 2017-12-06
 */
public class Accident extends DataEntity<Accident> {
	
	private static final long serialVersionUID = 1L;
	private Date occurrenceTime;		// 发生时间
	private String site;		// 地点
	private String accidentType;		// 事故类型
	private String feedbackPeople;		// 反馈人
	private String phone;		// 电话
	private Date feedbackTime;		// 反馈时间
	private String waybillNumber;		// 运单号
	private String state;		// 状态
	private String accidentDescription;		// 事故描述
	private String seekRedress;		// 客户要求赔偿金额
	private String practicalCompensate;		// 实际赔偿金额
	private String explains;		// 说明
	private Date accomplishDate;		// 要求完成日期
	private Date disposeDate;		// 实际处理日期
	private String conductor;		// 处理人
	private String lossExplain;		// 赔偿说明 
	private String lossMoney;		// 扣损金额
	private String lossObject;		// 扣损对象
	private String explainOne;		// 说明(追损)
	private Date damageDate;		// 要求完成日期(追损)
	private Date zsDate;		// 实际处理日期(追损)
	private String conductors;		// 处理人(追损)
	private String total;		// 扣损说明
	private String damagedExplain;		// 货物残损值说明
	private String insuranceCompany;		// 保险公司
	private String handlePersonnel;		// 办案人员
	private String relationPhone;		// 联系电话
	private Date reportTime;		// 保险报案时间
	private String indemnityMoney;		// 保险赔偿金额
	private Date compensateDate;		// 赔偿日期
	private String processingSpecification;		// 处理说明
	private String bill;		// 运单
	
	public Accident() {
		super();
	}

	public Accident(String id){
		super(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="发生时间", align=2, sort=6)
	public Date getOccurrenceTime() {
		return occurrenceTime;
	}

	public void setOccurrenceTime(Date occurrenceTime) {
		this.occurrenceTime = occurrenceTime;
	}
	
	@ExcelField(title="地点", align=2, sort=7)
	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}
	
	@ExcelField(title="事故类型", align=2, sort=8)
	public String getAccidentType() {
		return accidentType;
	}

	public void setAccidentType(String accidentType) {
		this.accidentType = accidentType;
	}
	
	@ExcelField(title="反馈人", align=2, sort=9)
	public String getFeedbackPeople() {
		return feedbackPeople;
	}

	public void setFeedbackPeople(String feedbackPeople) {
		this.feedbackPeople = feedbackPeople;
	}
	
	@ExcelField(title="电话", align=2, sort=10)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="反馈时间", align=2, sort=11)
	public Date getFeedbackTime() {
		return feedbackTime;
	}

	public void setFeedbackTime(Date feedbackTime) {
		this.feedbackTime = feedbackTime;
	}
	
	@ExcelField(title="运单号", align=2, sort=12)
	public String getWaybillNumber() {
		return waybillNumber;
	}

	public void setWaybillNumber(String waybillNumber) {
		this.waybillNumber = waybillNumber;
	}
	
	@ExcelField(title="状态", align=2, sort=13)
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	@ExcelField(title="事故描述", align=2, sort=14)
	public String getAccidentDescription() {
		return accidentDescription;
	}

	public void setAccidentDescription(String accidentDescription) {
		this.accidentDescription = accidentDescription;
	}
	
	@ExcelField(title="客户要求赔偿金额", align=2, sort=15)
	public String getSeekRedress() {
		return seekRedress;
	}

	public void setSeekRedress(String seekRedress) {
		this.seekRedress = seekRedress;
	}
	
	@ExcelField(title="实际赔偿金额", align=2, sort=16)
	public String getPracticalCompensate() {
		return practicalCompensate;
	}

	public void setPracticalCompensate(String practicalCompensate) {
		this.practicalCompensate = practicalCompensate;
	}
	
	@ExcelField(title="说明", align=2, sort=17)
	public String getExplains() {
		return explains;
	}

	public void setExplains(String explains) {
		this.explains = explains;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="要求完成日期", align=2, sort=18)
	public Date getAccomplishDate() {
		return accomplishDate;
	}

	public void setAccomplishDate(Date accomplishDate) {
		this.accomplishDate = accomplishDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="实际处理日期", align=2, sort=19)
	public Date getDisposeDate() {
		return disposeDate;
	}

	public void setDisposeDate(Date disposeDate) {
		this.disposeDate = disposeDate;
	}
	
	@ExcelField(title="处理人", align=2, sort=20)
	public String getConductor() {
		return conductor;
	}

	public void setConductor(String conductor) {
		this.conductor = conductor;
	}
	
	@ExcelField(title="赔偿说明 ", align=2, sort=21)
	public String getLossExplain() {
		return lossExplain;
	}

	public void setLossExplain(String lossExplain) {
		this.lossExplain = lossExplain;
	}
	
	@ExcelField(title="扣损金额", align=2, sort=22)
	public String getLossMoney() {
		return lossMoney;
	}

	public void setLossMoney(String lossMoney) {
		this.lossMoney = lossMoney;
	}
	
	@ExcelField(title="扣损对象", align=2, sort=23)
	public String getLossObject() {
		return lossObject;
	}

	public void setLossObject(String lossObject) {
		this.lossObject = lossObject;
	}
	
	@ExcelField(title="说明(追损)", align=2, sort=24)
	public String getExplainOne() {
		return explainOne;
	}

	public void setExplainOne(String explainOne) {
		this.explainOne = explainOne;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="要求完成日期(追损)", align=2, sort=25)
	public Date getDamageDate() {
		return damageDate;
	}

	public void setDamageDate(Date damageDate) {
		this.damageDate = damageDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="实际处理日期(追损)", align=2, sort=26)
	public Date getZsDate() {
		return zsDate;
	}

	public void setZsDate(Date zsDate) {
		this.zsDate = zsDate;
	}
	
	@ExcelField(title="处理人(追损)", align=2, sort=27)
	public String getConductors() {
		return conductors;
	}

	public void setConductors(String conductors) {
		this.conductors = conductors;
	}
	
	@ExcelField(title="扣损说明", align=2, sort=28)
	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}
	
	@ExcelField(title="货物残损值说明", align=2, sort=29)
	public String getDamagedExplain() {
		return damagedExplain;
	}

	public void setDamagedExplain(String damagedExplain) {
		this.damagedExplain = damagedExplain;
	}
	
	@ExcelField(title="保险公司", align=2, sort=30)
	public String getInsuranceCompany() {
		return insuranceCompany;
	}

	public void setInsuranceCompany(String insuranceCompany) {
		this.insuranceCompany = insuranceCompany;
	}
	
	@ExcelField(title="办案人员", align=2, sort=31)
	public String getHandlePersonnel() {
		return handlePersonnel;
	}

	public void setHandlePersonnel(String handlePersonnel) {
		this.handlePersonnel = handlePersonnel;
	}
	
	@ExcelField(title="联系电话", align=2, sort=32)
	public String getRelationPhone() {
		return relationPhone;
	}

	public void setRelationPhone(String relationPhone) {
		this.relationPhone = relationPhone;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="保险报案时间", align=2, sort=33)
	public Date getReportTime() {
		return reportTime;
	}

	public void setReportTime(Date reportTime) {
		this.reportTime = reportTime;
	}
	
	@ExcelField(title="保险赔偿金额", align=2, sort=34)
	public String getIndemnityMoney() {
		return indemnityMoney;
	}

	public void setIndemnityMoney(String indemnityMoney) {
		this.indemnityMoney = indemnityMoney;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="赔偿日期", align=2, sort=35)
	public Date getCompensateDate() {
		return compensateDate;
	}

	public void setCompensateDate(Date compensateDate) {
		this.compensateDate = compensateDate;
	}
	
	@ExcelField(title="处理说明", align=2, sort=36)
	public String getProcessingSpecification() {
		return processingSpecification;
	}

	public void setProcessingSpecification(String processingSpecification) {
		this.processingSpecification = processingSpecification;
	}
	
	@ExcelField(title="运单", align=2, sort=38)
	public String getBill() {
		return bill;
	}

	public void setBill(String bill) {
		this.bill = bill;
	}
	
}